.alert-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.alert-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: normal;
  margin-left: 8px;
}

.alert-header {
  padding: 0 12px;
  border-radius: 4px;
}

.alert-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* padding: 8px; */
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 1);
  color: #474747;
  /* padding: 10px 18px; */
  padding: 8px;
  font-weight: bold;
  border: 2px solid rgba(105, 105, 105, 1);
}

.stat-item.error {
  border: 1px solid rgba(245, 34, 45, 0.3);
}

.stat-item.warning {
  border: 1px solid rgba(250, 173, 20, 0.3);
}

.stat-item.info {
  border: 1px solid rgba(24, 144, 255, 0.3);
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;

  img {
    width: 28px;
    height: 28px;
  }
}

.stat-item.error .stat-value {
  color: #f5222d;
}

.stat-item.warning .stat-value {
  color: #faad14;
}

.stat-item.info .stat-value {
  color: #1890ff;
}

.stat-label {
  font-size: 12px;
  color: #474747;
}

.alert-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  width: 85px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 1);
  border: 2px solid rgba(105, 105, 105, 1);
}

.alert-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
}

.alert-item.error .alert-icon {
  background: #f5222d;
  box-shadow: 0 0 8px rgba(245, 34, 45, 0.5);
}

.alert-item.warning .alert-icon {}

.alert-item.info .alert-icon {
  background: #1890ff;
  box-shadow: 0 0 8px rgba(24, 144, 255, 0.5);
}

.alert-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-title {
  color: #fff;
  font-size: 14px;
}

.alert-meta {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.alert-timerange {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 180, 255, 0.1);
  padding: 1px 6px;
  border-radius: 2px;
  border: 1px solid rgba(0, 180, 255, 0.2);
}

.alert-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.indicator-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(245, 34, 45, 0.1);
  color: #f5222d;
  border: 1px solid rgba(245, 34, 45, 0.2);
}

.alert-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(0, 180, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 180, 255, 0.2);
  white-space: nowrap;
}

.alert-table {
  background-color: rgba(159, 180, 190, 1);
  padding: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

.alert-table table {
  background-color: rgba(255, 255, 255, 1);
  width: 405px;
  color: #474747;
}

.alert-table table th {
  font-size: 16px;
  font-weight: bold;
  width: 125px;
}

.alert-table table td {
  font-size: 12px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
  cursor: pointer;
}

.pagination {
  display: flex;
  gap: 6px;
}

.pagination-item {
  font-size: 12px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  background-color: rgba(255, 255, 255, 1);
  color: #474747;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
  cursor: pointer;
}